import request from '@/utils/request'
// 查询微信配置
export function getDictType(data) {
  return request({
    url: '/system/dict/data/list',
    method: 'get',
	params:data
  })
}
// 返回授权地址
export function wechatGetUrl(data) {
  return request({
    url: '/wechat/api/getUrl',
    method: 'get',
	params:data
  })
}
// 返回授权地址
export function wechatCallBack(data) {
  return request({
    url: '/wechat/api/callBack',
    method: 'get',
	params:data
  })
}
// 患者消息自定义修改
export function configMessage(data) {
  return request({
    url: '/project/configMessage',
    method: 'post',
	data:data
  })
}
// 患者消息自定义修改
export function deleteConfigMessage(data) {
  return request({
    url: '/project/configMessage/'+data,
    method: 'delete',
  })
}
// 获取病区列表
export function deptInfoHisWard(data) {
  return request({
    url: '/project/deptInfo/hisWard',
    method: 'get',
	params:data
  })
}
// 病区列表查询
export function wardInfoList(data) {
  return request({
    url: '/project/wardInfo/list',
    method: 'get',
	params:data
  })
}
// 获取科室列表
export function deptInfoList(data) {
  return request({
    url: '/project/deptInfo/list',
    method: 'get',
	params:data
  })
}